import Vue from 'vue'
import Router from 'vue-router'
import index from '@/components/home'
import work from '@/components/work'
import monreport from '@/components/monreport'
import citymon from '@/components/citymon'
import promon from '@/components/promon'
import specilmon from '@/components/specilmon'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index,
      meta: {
        keepAlive: true
      }
    },
    {
      path: '/index',
      name: 'index',
      component: index,
      meta: {
        keepAlive: true
      }
    },
    {
      path: '/work',
      name: 'work',
      component: work,
      meta: {
        keepAlive: true
      }
    },
    {
      path: '/promon',
      name: 'promon',
      component: promon,
      meta: {
        keepAlive: true
      }
    },
    {
      path: '/citymon',
      name: 'citymon',
      component: citymon,
      meta: {
        keepAlive: true
      }
    },
    {
      path: '/specilmon',
      name: 'specilmon',
      component: specilmon,
      meta: {
        keepAlive: true
      }
    },
    {
      path: '/monreport',
      name: 'monreport',
      component: monreport,
      meta: {
        keepAlive: true
      }
    }
  ]
  // mode: 'history'
})
